[(#SAISIE{textarea, extension_supplier, label=<:alohacart_payment_invoice:supplier:>:, obligatoire=oui, rows=5})]

[(#SAISIE{case, extension_show_payer, label=<:alohacart_payment_invoice:show_payer:>:})]

[(#SAISIE{case, extension_is_vat_payer, label=<:alohacart_payment_invoice:is_vat_payer:>:})]

<div id="edit_vat">
    [(#SAISIE{radio, extension_vat_type, label=<:alohacart_payment_invoice:vat_type:>:, explication=<:alohacart_payment_invoice:vat_type_explication:>,
        datas=#ARRAY{add, <:alohacart_payment_invoice:add_vat:>, deduct, <:alohacart_payment_invoice:deduct_vat:>},
        defaut=add})]
    
    [(#SAISIE{input, extension_vat_value, label=<:alohacart_payment_invoice:vat_value:>:})]    
</div>

<script type="text/javascript">
jQuery(document).ready(function(){
    if (!$('#champ_extension_is_vat_payer').attr('checked'))
        $('#edit_vat').hide();
    $('#champ_extension_is_vat_payer').click(function(){        
        $('#edit_vat').slideToggle();
    });
});
</script>